<?php
if($html->countUrl==1)
{    
    $html_dis       = BuildHtmlTypicalWorks($html->getId());
}

if($ajax==true)
{
    echo $html_dis;
    exit;
}
?>